#include <stdlib.h>
#include <malloc.h>
#include "SNMPDll.h"

int main(int argc, char* argv[])
{	
	snmp_open("", "127.0.0.1", false, "public", NULL);
	//char* v = "yy";
	//snmp_command(".1.3.6.1.2.1.1.6.0", 0x04, (unsigned char*)v, 2);
	unsigned char type;
	int len;	
	char* val = new char[32];
	len = snmp_get_info(".1.3.6.1.2.1.1.6.0", &type, val, 32);	
	delete val;
	snmp_close();
	return 0;
}

